package com.huanbao.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})   // 网关，不需要 db,但是引入了common，common里面加了mybatis
@SpringBootApplication
@EnableDiscoveryClient
public class CloudGatewayApplication {


    public static void main(String[] args) {
        SpringApplication.run(CloudGatewayApplication.class, args);
    }

}
